package com.bean;

/**
 * @Author wangzhipeng
 * @Date 2020-08-31 9:36 下午
 * @Description
 */
public class Disaster {
    Integer did;
    String dtype;
    String ddegree;
    String dinfo;
    String dlocation;
    String dphone;
    Integer uid;
    String time;

    public Disaster() {
    }

    public Disaster(Integer did, String dtype, String ddegree, String dinfo, String dlocation, String dphone, Integer uid, String time) {
        this.did = did;
        this.dtype = dtype;
        this.ddegree = ddegree;
        this.dinfo = dinfo;
        this.dlocation = dlocation;
        this.dphone = dphone;
        this.uid = uid;
        this.time = time;
    }

    public Disaster(Integer did, String dtype, String ddegree, String dinfo, String dlocation, String dphone, Integer uid) {
        this.did = did;
        this.dtype = dtype;
        this.ddegree = ddegree;
        this.dinfo = dinfo;
        this.dlocation = dlocation;
        this.dphone = dphone;
        this.uid = uid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Disaster{" +
                "did=" + did +
                ", dtype='" + dtype + '\'' +
                ", ddegree='" + ddegree + '\'' +
                ", dinfo='" + dinfo + '\'' +
                ", dlocation='" + dlocation + '\'' +
                ", dphone='" + dphone + '\'' +
                '}';
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getDtype() {
        return dtype;
    }

    public void setDtype(String dtype) {
        this.dtype = dtype;
    }

    public String getDdegree() {
        return ddegree;
    }

    public void setDdegree(String ddegree) {
        this.ddegree = ddegree;
    }

    public String getDinfo() {
        return dinfo;
    }

    public void setDinfo(String dinfo) {
        this.dinfo = dinfo;
    }

    public String getDlocation() {
        return dlocation;
    }

    public void setDlocation(String dlocation) {
        this.dlocation = dlocation;
    }

    public String getDphone() {
        return dphone;
    }

    public void setDphone(String dphone) {
        this.dphone = dphone;
    }
}
